package org.example.agg;

import java.util.Arrays;
import java.util.HashSet;
import java.util.stream.Stream;

/**
 *         输入：logs = [[0,5],[1,2],[0,2],[0,5],[1,3]], k = 5
 *         输出：[0,2,0,0,0]
 */
public class Solution {
    public static void main(String[] args) {
        int[][] ints = {
                {0, 5},
                {1, 2},
                {0, 2},
                {0, 5},
                {1, 3}
        };
        Solution.findingUsersActiveMinutes(ints, 5);
    }
    public static int[] findingUsersActiveMinutes(int[][] logs, int k) {

        Stream<String[]> stream = Arrays.stream(logs).map(log -> log[1] + "_" + log[0]).distinct().map(log -> log.split("_"));
        stream.forEach(log -> System.out.println(log[0] + " " + log[1]));
        return new int[0];
    }
}
